package edu.aysf.dao;

import edu.aysf.entity.DoctorEntity;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: 郑老师
 * @Version: 1.0
 * @Date: 2024-10-16 14:20:15
 * @Desc:
 **/
@Repository
//@Mapper
//@Component
public interface DoctorDao{
//public interface DoctorDao extends BaseMapper<DoctorEntity> {
// 失败
//public interface DoctorDao  extends JpaRepository<DoctorEntity,Integer> {
    @Select("select * from doctor")
    List<DoctorEntity> selectDoctorInfo();

}
